#include "stdio.h"
main()
{
	int a=0,b=0;
	scanf("%d%d",&a,&b);
	while ((a!=2000000000)&&(b!=2000000000))
	{
	printf("%d\n",a+b);
	a=2000000000;
	b=2000000000;
	scanf("%d%d",&a,&b);
	}
}
